<?php






/**
* Created by PhpStorm.
* User: User
* Date: 2017/9/13
* Time: 8:22
*/
final  class Shape{

    final public  function getArea(){}

}
 


}
class  Rectangle  extends  Shape
{
    private  $width,$height;
    public function _construct($width,$height)
    {

        public function setHeight($height)
    {
        $this->height = $height;
        $this->width = $width;
    }
        public  function  getArea(){
        retunrn $this->width*$this->height;



    }
    }



}
?>